﻿using System;

namespace smp.ButterflyCakes.Models.Data
{
    public class ColourItem
    {
        public Guid Id { get; set; }
        public int Red { get; set; }
        public int Green { get; set; }
        public int Blue { get; set; }
        public string Manufacturer { get; set; }
        public string Name { get; set; }
        public string ManufacturerCode { get; set; }

        public string Rgb { get { return string.Format("rgb({0}, {1}, {2})", Red, Green, Blue); } }
    }
}
